import request from '/@/utils/request'

export interface GetInventoryDistributionInput {
  startTime?: string
  endTime?: string
  goodsOrCategory?: string
  page?: number
  pageSize?: number
}

export function fetchKcfbPage(data: GetInventoryDistributionInput) {
  return request.post('/api/report/inventoryDistribution/page', data)
}

export function fetchKcfbChart(data: GetInventoryDistributionInput) {
  return request.post('/api/report/inventoryDistribution/chart', data)
}


